package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.query.search.AlbumIndexQuery;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexVo;
import com.atguigu.tingshu.vo.search.AlbumSearchResponseVo;

import java.util.List;
import java.util.Map;

public interface SearchService {

    void upperAlbum(Long albumId);

    void deleteAlbumInfoIndex(Long albumId);

    AlbumSearchResponseVo searchAlbums(AlbumIndexQuery query);

    List<Map> getChannel(Long c1Id);


    List<String> completeSuggest(String keyword);

    Map getAlbumInfoById(Long albumId);

    List<AlbumInfoIndexVo> findRankingList(Long c1Id, String sort);

    void updateLatelyAlbumRanking();

}
